package com.cam.tutorial.elasticsearch.controller.pojo.entity;

import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Document(indexName = "cam_goods")
public class GoodsES {

    @Field(type = FieldType.Text, analyzer = "ik_max_word")
    private String name;
}
